//logs.js
const index = require('../index/index.js')
Page({
  data: {
    num:1
  },
  onMyEvent(e) {
    console.log(e.detail)
    console.log("onMyEvent");
    this.setData({
      num: e.detail.num
    })
  },
  onLoad(){

  }
})
